package com.gxa.entity.asset;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yjl
 * @since 2022-10-12 11:37:50
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("t_auth_apply")
@ApiModel(value = "AuthApply对象", description = "")
public class AuthApply implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("检定申请主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("申请单号")
    @TableField("auth_apply_num")
    private String authApplyNum;

    @ApiModelProperty("申请部门")
    @TableField("auth_apply_dep")
    private String authApplyDep;

    @ApiModelProperty("申请人员")
    @TableField("person")
    private String person;

    @ApiModelProperty("申请时间")
    @TableField("application_date")
    private Date applicationDate;

    @ApiModelProperty("检定单位")
    @TableField("auth_dep")
    private String authDep;

    @ApiModelProperty("检定方式")
    @TableField("auth_method")
    private String authMethod;

    @ApiModelProperty("检定设备")
    @TableField("auth_equipment")
    private String authEquipment;

    @ApiModelProperty("实际检定日期")
    @TableField("auth_day")
    private Date authDay;

    @ApiModelProperty("检定状态（0-待检定，1-已完成）")
    @TableField("auth_apply_state")
    private Integer authApplyState;

    @ApiModelProperty("期望检定日期")
    @TableField("expect_authenticate_date")
    private Date expectAuthenticateDate;

    @ApiModelProperty("检定结果")
    @TableField("authenticate_result")
    private String authenticateResult;

    @ApiModelProperty("检定费用")
    @TableField("authenticate_cost")
    private Double authenticateCost;

    @ApiModelProperty("上次检定日期")
    @TableField("last_authenticate_date")
    private Date lastAuthenticateDate;

    @TableLogic
    @TableField("is_delete")
    private Integer isDelete;


}
